package com.example.wenliangjiudian.mapper;

import com.example.wenliangjiudian.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MenuMapper {

    List<Menu> selectAll();

    List<Menu> getMyMenu(@Param("id") Integer id);
}
